package com.springboot.springboot2.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @ClassName:
 * @author: CKC
 * @DateTime: 2021/1/28 14:07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Person {
    private String userName;
    private Date birth;
    private Integer age;
    private Pet pet;
    /**
     * 属性绑定在 application.yaml 里面了
     * */
}
